Draft
Conversation
This adds a new command "Roo Code: Open In Current Tab" that opens Roo Code in the current editor view without creating a new split or locking the editor group. This allows users to open Roo Code like a normal tab. The existing "Open In New Tab" command continues to work as before, opening in a new split to the right with a locked editor group. Closes #10689
2 tasks
Contributor
Author
Review complete. No issues found. The implementation correctly adds a new "Open In Current Tab" command that opens Roo Code in the active editor column using Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #10689
Roo Code Task Context (Optional)
This PR was created by @roomote to address the enhancement request.
Description
This PR adds a new command "Roo Code: Open In Current Tab" that opens Roo Code in the current editor view without creating a new split or locking the editor group.
Key Implementation Details:
openInCurrentTabto the command IDs inpackages/types/src/vscode.tsopenClineInCurrentTab()function insrc/activate/registerCommands.tsthat:vscode.ViewColumn.Activeto open in the current view instead of calculating a new columnopenClineInNewTab), allowing files to open over the panel like normal tabssrc/package.jsonDifference from existing "Open In New Tab":
Open In New Tab: Opens in a new split to the right (lastCol + 1) and locks the editor groupOpen In Current Tab: Opens in the active view and does not lock the editor groupTest Procedure
Automated Tests:
registerCommands.spec.tstests - all passingPre-Submission Checklist
Screenshots / Videos
Not applicable - no UI changes, only command palette integration.
Documentation Updates
Additional Notes
The implementation follows the same pattern as the existing
openClineInNewTabfunction but with these key differences:ViewColumn.Activeinstead of calculating a new columnGet in Touch
This PR was created by @roomote. Feedback and guidance are welcome!
Important
Adds 'Open In Current Tab' command to Roo Code extension, allowing content to open in the current tab without creating a new split or locking the editor group, with localization support in 18 languages.
openInCurrentTabcommand ID invscode.ts.openClineInCurrentTab()inregisterCommands.tsto open content in the current tab usingvscode.ViewColumn.Active.openInCurrentTabcommand inpackage.json.package.nls.json,package.nls.de.json, andpackage.nls.es.json.This description was created by
for da81595. You can customize this summary. It will automatically update as commits are pushed.